package com.mdd.common.enums.order.type;

/**
 * 订单流水
 */
public enum OrderFlowTypeEnum {
    PAY(0,"支付","PA"),
    REFUND(1,"退款","RF"),
    DEPOSIT_FREEZE(2,"押金冻结","DF"),
    CANCEL_DEPOSIT_FREEZE(3,"取消押金冻结","CF"),
    AGREEMENT_RECORD_SIGN(4,"代扣签约","AS"),
    CANCEL_AGREEMENT_RECORD_SIGN(5,"取消代扣签约","CS"),
    AGREEMENT_RECORD(6,"代扣","AR"),
    TRADE_ORDER_SETTLE(7,"订单结算","TS"),
    ;
    private final int code;
    private final String msg;
    private final String prefix;
    OrderFlowTypeEnum(int code, String msg,String prefix) {
        this.code = code;
        this.msg = msg;
        this.prefix = prefix;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public String getPrefix() {
        return prefix;
    }
}
